#pragma once

void ustrncpy(char* p1, const char* p2, int nChars);
void ustrncpy(char* lpa, const wchar_t* lpw, int nChars);
void ustrncpy(wchar_t* p1, const wchar_t* p2, int nChars);
void ustrncpy(wchar_t* lpw, const char* lpa, int nChars);

CString GetWin32ErrorString(DWORD nError);